<template>
    <div id="popular">

        <!-- 人气推荐 -->
        <Recommend :recommend="recommend" />
        
    </div>
</template>

<script>
// 人气推荐 
import Recommend from '../../components/home/Recommend';

export default {
    components:{
        Recommend,
    },
    data() {
        return {
            recommend:[],
        }
    },
    mounted() {
        // 全民砍价  // 人气推荐 \ 商品列表
        this.$API.getStoreList().then((res)=>{
            console.log(res);
            this.recommend = res.data.data;
        }).catch((error)=>{
            console.log(error);
        });
    },
}
</script>

<style lang="scss">

</style>